package com.shencai.demo.base.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shencai.demo.base.entity.SysUser;

import java.util.List;

/**
 * @author sckj
 * @description 针对表【sys_user(用户表)】的数据库操作Service
 * @createDate 2022-10-19 11:04:48
 */
public interface SysUserService extends IService<SysUser> {
    List<SysUser> getSysUser(String account,String username);

    boolean saveAccount(SysUser sysUser);

    Page<SysUser> ListRoleBypage(String account, String phone, String username, Integer currentPage, Integer pageSize);
}
